package com.xxl.job.admin;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import top.lixunda.common.validate.EnableXumValidator;

/**
 * @author xuxueli 2018-10-28 00:38:13
 */
@Slf4j
@SpringBootApplication
@EnableEurekaClient
@EnableRedisHttpSession
@EnableXumValidator
@EnableFeignClients(basePackages = {
		"top.lixunda.ecommerce.server.auth.api.feign",
		"top.lixunda.ecommerce.server.user.api.feign"
})
public class XxlJobAdminApplication {

	public static void main(String[] args) {
        SpringApplication.run(XxlJobAdminApplication.class, args);
		log.info("启动成功！");
	}

}
